﻿using System;
using System.Collections.Generic;
using System.Text;

namespace leetcodeAnswer.Code.Ex
{
    public static class Ex_Print
    {
        public static string Print(this int[] value)
        {
            return string.Join(",", value);
        }

        public static string Print(this AnswerAttribute value)
        {
            return $@"{value.Index}:{value.Name}
{value.Url}
-------------------------------
描述：
{value.Descript}
-------------------------------";
        }
    }
}
